#include "HavokSystem.h"

int main()
{
	HavokSystem hs;
	hs.CreateWorld();
	hs.CreateGround(10, 10);
	hs.startNewSimulateStep();
	float pos[4];
	for (int i=0;i<100;i++)
	{
		for (int j=0;j<4;++j)
		{
			pos[j] = hs.m_cube->getPosition().getComponent(j);
		}
		hs.Step();
		printf("%2.2f %2.2f %2.2f %2.2f\n", pos[0], pos[1], pos[2], pos[3]);
	}
}
